<template>
  <div></div>
</template>

<script>
  export default {
    data() {
      return {
        id: ''
      }
    },
    created() {
      this.id = this.$route.query.id;
      //console.log('id',this.id)
    },

    beforeRouteEnter(to, from, next) {
      let that = this;
     // console.log()
      next(vm => {
        //vm.$router.replace(from.path);
        console.log('vm',vm)
        vm.$router.replace({
          path: from.path,
          query: {
            id: vm.id,
            t: Date.now()
          }
        })
      })
    }
  }
</script>

<style scoped>

</style>
